﻿using System;
using System.Web.Configuration;
using System.Web;

namespace DLV.Library.Utilities
{
    public class Globals
    {
        public static string InstanceExtension = WebConfigurationManager.AppSettings["InstanceExtension"].ToLower();
        public static string PathXML = WebConfigurationManager.AppSettings["PathXML"];
        public static string RelativeWebRoot = VirtualPathUtility.ToAbsolute("~/");
        public static string FrontEndUrl = WebConfigurationManager.AppSettings["FrontEndUrl"];
        public static string StaticUrl = WebConfigurationManager.AppSettings["StaticUrl"];

        public enum Age
        {
            Adults = 1,
            Child = 2
        }
        public enum PriceType
        {
            TicketAir = 1,
            TicketStation = 2,
            TicketCar = 3,
            Restaurant = 4,
            Hotel = 5,
            Visa = 6,
            Insurance = 7,
            Service = 8
        }
        public enum DocumentStatus
        {            
            Use = 1,
            Draft = 2,
            Cancel = 3
        }
    }
}
